<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="./css/public.css"/>
    <title>其他问题</title>
    <script src="../baidu.js"></script>
</head>
<body>
    <div class="header">
        <a class="return" href="./index.html"><img src="./css/images/return.png"></a>
        <span class="cont">其他问题</span>
    </div>
    <div>
        <div class="question">
            <div>
                <div class="ques" id="bg1">
                    <div>可不可以提额</div>
                    <div><img class="img-icon" src='./css/images/right.png' id="queImg1"></div>
                </div>
                <div class="ans" id='queCon1' style="display:none">闪电飞猪是有系统提额规则的，只要您坚持使用并按时还款，你一定会提额的。</div>
            </div>
            <div>
                <div class="ques"  id="bg2">
                    <div>额度下降了</div>
                    <div><img class="img-icon" src='./css/images/right.png' id="queImg2"></div>
                </div>
                <div class="ans" id='queCon2' style="display:none">额度下降了，可能是因为您某次没有按时还款，不过不用担心，如果一直坚持使用并按时还款，您一定会提额的。</div>
            </div>
            <div id="bg3">
                <div class="ques">
                    <div>更换主卡</div>
                    <div><img class="img-icon" src='./css/images/right.png' id="queImg3"></div>
                </div>
                <div class="ans" id='queCon3' style="display:none">需要联系客服，告知您的姓名电话，确实是您本人后才能更换。</div>
            </div>
            <div id="bg4">
                <div class="ques">
                    <div>更改注册手机号码</div>
                    <div><img class="img-icon" src='./css/images/right.png' id="queImg4"></div>
                </div>
                <div class="ans" id='queCon4' style="display:none">您好，您注册的手机号码相当于您的用户名，手机号码是无法更改的。</div>
            </div>
            <div id="bg5">
                <div class="ques">
                    <div>为什么要授权存储权限</div>
                    <div><img class="img-icon" src='./css/images/right.png' id="queImg5"></div>
                </div>
                <div class="ans" id='queCon5' style="display:none">因为在实名认证的过程中会用到相机权限和相册权限，否则无法扫描身份证和人脸。</div>
            </div>
            <div id="bg6">
                <div class="ques">
                    <div>如何给闪电飞猪开通各种权限</div>
                    <div><img class="img-icon" src='./css/images/right.png' id="queImg6"></div>
                </div>
                <div class="ans" id='queCon6' style="display:none">如果您用的是苹果手机，点击“设置-闪电飞猪”就可以开启通知权限了。如果是安卓手机，如果您的手机有“安全管家”这种应用，可以去“安全管家”中设置。设置完成后，关闭程序重新进入APP就可以了。</div>
            </div>
        </div>
    </div>
</body>
<script>
    var queImg1 = document.getElementById('queImg1');
    var queImg2 = document.getElementById('queImg2');
    var queImg3 = document.getElementById('queImg3');
    var queImg4 = document.getElementById('queImg4');
    var queImg5 = document.getElementById('queImg5');
    var queImg6 = document.getElementById('queImg6');

    var queCon1 = document.getElementById('queCon1');
    var queCon2 = document.getElementById('queCon2');
    var queCon3 = document.getElementById('queCon3');
    var queCon4 = document.getElementById('queCon4');
    var queCon5 = document.getElementById('queCon5');
    var queCon6 = document.getElementById('queCon6');
    
    var bg1 = document.getElementById('bg1');
    var bg2 = document.getElementById('bg2');
    var bg3 = document.getElementById('bg3');
    var bg4 = document.getElementById('bg4');
    var bg5 = document.getElementById('bg5');
    var bg6 = document.getElementById('bg6');

    var openClose = function(img,con){
        if(con.style.display == "block"){
			con.style.display = "none";
			img.src = "./css/images/right.png";
		}else{
			con.style.display = "block";
			img.src = "./css/images/down.png";
		} 
    }
    bg1.onclick=function(){
        openClose(queImg1,queCon1);
    }
    bg2.onclick=function(){
        openClose(queImg2,queCon2);
    }
    bg3.onclick=function(){
        openClose(queImg3,queCon3);
    }
    bg4.onclick=function(){
        openClose(queImg4,queCon4);
    }
    bg5.onclick=function(){
        openClose(queImg5,queCon5);
    }
    bg6.onclick=function(){
        openClose(queImg6,queCon6);
    }
</script>
</html>